<span class="view">
	<?php 
		echo CHtml::link(CHtml::encode($data->tag), array('view', 'tag'=>$data->tag)); 
	?>
</span>